﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GenerateDiagram
{
    public class Common
    {
        public enum Version
        { 
           Net2_0,
           Net3_0,
           Net3_5,
           Net4_0
        }

        public static string GetPatternFileWithVersion(Version ver)
        {
            string str = "File/Pattern";
            switch (ver)
            {
                case Version.Net2_0:
                    str += "2.0.txt";
                    break;
                case Version.Net3_0:
                    str += "3.0.txt";
                    break;
                case Version.Net3_5:
                    str += "3.5.txt";
                    break;
                case Version.Net4_0:
                    str += "4.0.txt";
                    break;
                default:
                    break;
            }
            return str;
        }

    }
}
